#ifndef MODEL_H
#define MODEL_H

#include <QList>
#include <QObject>

class GeoPoint;

class Model: public QObject
{
    Q_OBJECT

public:
    explicit Model();
    ~Model();

public slots:
    void addPoint(float x, float y);
    void save();

signals:
    void onPointAdded(float x, float y);

private:
    QList<GeoPoint *> _points;

};

#endif // MODEL_H
